package ${e.pkg};

<#list e.imports as imps>
import ${imps};
</#list>

/**
 *  ${e.tableInfo.name}
 *
 *	@author ${e.author.name}(${e.author.english})
 *	@date ${e.createTime}
 */
public class ${e.className} implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

<#list e.fields as field>
    /**
     *  ${field.desc!""}
     */
    protected ${field.javaTypeName} ${field.name};
</#list>
	
	public static ${e.className} build() {return new ${e.className}();}
	
<#list e.fields as field>
    public ${field.javaTypeName} get${field.upName}() { return this.${field.name}; }
    public void set${field.upName}(${field.javaTypeName} ${field.name}) { this.${field.name} = ${field.name}; }
    public ${e.className} ${field.name}(${field.javaTypeName} ${field.name}) { set${field.upName}(${field.name}); return this; }
    
</#list>	
}
